﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rotempco.BaseClass.Objects.EntityObjects;
using Rotempco.BaseClass;
using Rotempco.Core.ORM.Managers;
using Rotempco.BaseClass.Settings;
using Rotempco.BaseClass.Objects.Enums;

namespace Rotempco.TestBench
{
    class Program
    {
        static void Main(string[] args)
        {
            CoreSetup.SetSettings();

            var hest = Factory.LoginUser.Login("test@test.dk", "123");

            //DatabaseManager.Instance.Transact(() =>
            //{
            //    LoginUser loginUser = Factory.LoginUser.CreateNewLoginUser("Test Testersen", "test@test.dk").LoginUser;
            //   ChangePasswordResultEnum result =  Factory.LoginUser.ChangePassword(loginUser, "123");
            //   if (result != ChangePasswordResultEnum.Success)
            //       throw new Exception();
            //});


        }
    }
}
